package com.peas.platform.module.icims.contract.initial.dto;

import com.peas.platform.common.core.annotation.Comment;
import com.peas.platform.common.core.dto.BaseDto;
import com.peas.platform.framework.mybatisplus.annotation.Condition;
import com.peas.platform.framework.mybatisplus.annotation.ConditionOperator;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

// 初始合同参与方
@Data
@EqualsAndHashCode(callSuper = false)
public class ContractInitialParticipationDto extends BaseDto {

    // 合同ID
    // 【初始合同表】
    @Comment(value = "合同ID")
    private Long contractInitialId;

    // 参与类型
    // 甲方、乙方、第三方
    // 枚举取值:ContractParticipationType
    @Comment(value = "参与类型", enumType = "ContractParticipationType")
    @Condition(operator = ConditionOperator.IN)
    private String participationType;

    // 参与方类型
    // 单位、个人
    // 枚举取值:ContractParticipationUserType
    @Comment(value = "参与方类型", enumType = "ContractParticipationUserType")
    @Condition(operator = ConditionOperator.IN)
    private String participationUserType;

    // 名称
    // 单位名称、个人姓名
    @Comment(value = "名称")
    private String name;

    // 纳税识别号
    @Comment(value = "纳税识别号")
    private String identification;

    // 联系人
    @Comment(value = "联系人")
    private String contact;

    // 联系人证件号码
    @Comment(value = "联系人证件号码")
    private String contactIdcard;

    // 联系手机号
    @Comment(value = "联系手机号")
    private String contactMobile;

    // 收款银行ID
    // 【银行表】
    @Comment(value = "收款银行ID")
    private Long proceedsBankId;

    // 收款账号
    @Comment(value = "收款账号")
    private String proceedsAccount;

    //Criteria
    private Date createTimeStart;
    private Date createTimeEnd;
    private Date updateTimeStart;
    private Date updateTimeEnd;
}
